package com.piaodekuai.flight.pojo;

import java.io.Serializable;
import java.util.Date;

public class Coupon implements Serializable {
    private Integer couponId;

    private String couponNumber;

    private String cType;

    private Date cGetDate;

    private Date cEndDate;

    private static final long serialVersionUID = 1L;

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public String getCouponNumber() {
        return couponNumber;
    }

    public void setCouponNumber(String couponNumber) {
        this.couponNumber = couponNumber == null ? null : couponNumber.trim();
    }

    public String getcType() {
        return cType;
    }

    public void setcType(String cType) {
        this.cType = cType == null ? null : cType.trim();
    }

    public Date getcGetDate() {
        return cGetDate;
    }

    public void setcGetDate(Date cGetDate) {
        this.cGetDate = cGetDate;
    }

    public Date getcEndDate() {
        return cEndDate;
    }

    public void setcEndDate(Date cEndDate) {
        this.cEndDate = cEndDate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", couponId=").append(couponId);
        sb.append(", couponNumber=").append(couponNumber);
        sb.append(", cType=").append(cType);
        sb.append(", cGetDate=").append(cGetDate);
        sb.append(", cEndDate=").append(cEndDate);
        sb.append("]");
        return sb.toString();
    }
}